|
Eclipse Platform Pre-release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.team.ui.synchronize.actions.SyncInfoSet
Convenience class for manipulating and searching sets of SyncInfo
instances.
SyncInfoFilter
Constructor Summary | |
SyncInfoSet(SyncInfo[] infos)
|
Method Summary | |
void |
addAll(SyncInfoSet set)
|
SyncInfo |
getNodeFor(IResource resource)
|
SyncInfo[] |
getNodes(SyncInfoFilter filter)
Return all nodes in this set that match the given filter |
IResource[] |
getResources()
Returns the resources from all the nodes in this set. |
SyncInfo[] |
getSyncInfos()
|
boolean |
hasAutoMergeableConflicts()
Returns true if this sync set has auto-mergeable conflicts. |
boolean |
hasConflicts()
Returns true if there are any conflicting nodes in the set, and false otherwise. |
boolean |
hasIncomingChanges()
Returns true if this sync set has incoming changes. |
boolean |
hasNodes(SyncInfoFilter filter)
Indicate whether the set has nodes matching the given filter |
boolean |
hasOutgoingChanges()
Returns true if this sync set has outgoing changes. |
boolean |
isEmpty()
|
void |
rejectNodes(SyncInfoFilter filter)
Removes all nodes from this set that match the given filter |
void |
removeConflictingNodes()
Removes all conflicting nodes from this set. |
void |
removeIncomingNodes()
Removes all incoming nodes from this set. |
void |
removeNonMergeableNodes()
Removes all nodes from this set that are not auto-mergeable conflicts |
void |
removeOutgoingNodes()
Removes all outgoing nodes from this set. |
void |
removeResources(IResource[] resources)
|
void |
selectNodes(SyncInfoFilter filter)
Removes all nodes from this set that do not match the given filter |
int |
size()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SyncInfoSet(SyncInfo[] infos)
Method Detail |
public boolean hasConflicts()
public boolean hasIncomingChanges()
public boolean hasOutgoingChanges()
public boolean hasAutoMergeableConflicts()
public void removeConflictingNodes()
public void removeOutgoingNodes()
public void removeIncomingNodes()
public void removeNonMergeableNodes()
public boolean hasNodes(SyncInfoFilter filter)
public void selectNodes(SyncInfoFilter filter)
public void rejectNodes(SyncInfoFilter filter)
public SyncInfo[] getNodes(SyncInfoFilter filter)
public SyncInfo[] getSyncInfos()
public IResource[] getResources()
public boolean isEmpty()
public void removeResources(IResource[] resources)
public int size()
public SyncInfo getNodeFor(IResource resource)
public void addAll(SyncInfoSet set)
|
Eclipse Platform Pre-release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |